/*
 * @Author: sy
 * @Date: 2021-09-02 21:50:27
 * @LastEditTime: 2023-07-06 11:51:36
 * @Description: file content
 */
const files = require.context('./modules', false, /\.js$/)
const modules = {}

files.keys().forEach(key => {
  modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
})

export default {
  namespaced: true,
  modules
};
